Espressif Systems /ESP32-S2 /RTC_I2C /STATUS

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as STATUS

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (ACK_REC)ACK_REC 0 (SLAVE_RW)SLAVE_RW 0 (ARB_LOST)ARB_LOST 0 (BUS_BUSY)BUS_BUSY 0 (SLAVE_ADDRESSED)SLAVE_ADDRESSED 0 (BYTE_TRANS)BYTE_TRANS 0OP_CNT 0SHIFT0SCL_MAIN_STATE_LAST 0SCL_STATE_LAST

Description

RTC I2C status

Fields

ACK_REC

The received ACK value. 0: ACK. 1: NACK.

SLAVE_RW

0: master writes to slave. 1: master reads from slave.

ARB_LOST

When the RTC I2C loses control of SCL line, the register changes to 1.

BUS_BUSY

0: RTC I2C bus is in idle state. 1: RTC I2C bus is busy transferring data.

SLAVE_ADDRESSED

When the address sent by the master matches the address of the slave, then this bit will be set.

BYTE_TRANS

This field changes to 1 when one byte is transferred.

OP_CNT

Indicate which operation is working.

SHIFT

shifter content

SCL_MAIN_STATE_LAST

i2c last main status

SCL_STATE_LAST

scl last status

Links

() ()